package com.assignwork.mapper;
import com.assignwork.dto.ShipForecastSearchDTO;
import com.assignwork.dto.pcplan.PcShipRealWritingSearchDto;
import com.assignwork.entity.pc.PcShipRealWriting;
import com.assignwork.vo.pc.PcShipRealWritingPageVo;
import com.assignwork.vo.pc.PcShipRealWritingVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName PcShipRealWritingMapper
 * @Description
 * @Author sl
 * @Date 2023/12/27 10:27
 */
public interface PcShipRealWritingMapper extends BaseMapper<PcShipRealWriting> {
    List<PcShipRealWritingVo> selectPcShipRealWritingList(@Param("dto") PcShipRealWritingSearchDto dto);


    List<PcShipRealWritingPageVo> selectPcShipRealWritingPage(@Param("dto") ShipForecastSearchDTO dto, IPage<PcShipRealWritingPageVo> page);

    List<PcShipRealWritingVo> selectSyncPcShipRealWriting(@Param("id") String id);

    List<PcShipRealWritingVo> selectAllPcShipRealWriting(@Param("shipId") String shipId);
}
